package com.example.threaddemo.t18;

/**
 * @Author：wlz
 * @Package：com.example.threaddemo.t18
 * @Project：threaddemo
 * @name：Run
 * @Date：2023/3/30 22:44
 * @Filename：Run
 */
public class Run {
    public static void main(String[] args) {
        System.out.println("main thread begin priority="+Thread.currentThread().getPriority());
        Thread.currentThread().setPriority(6);
        System.out.println("main thread end priority="+Thread.currentThread().getPriority());
        MyThread thread = new MyThread();
        thread.start();
    }
}
